package com.iplay.service.hotel.discount;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.web.multipart.MultipartFile;

import com.iplay.dto.ApiResponse;
import com.iplay.dto.hotel.HotelDiscountDTO;

public interface HotelDiscountService {
	List<HotelDiscountDTO> listDiscounts(int hotelId, long baseDate, Pageable pageable);
	
	List<HotelDiscountDTO> listDiscounts(int hotelId, long start, long end, Pageable pageable);
	
	boolean saveHotelDiscount(int hotelId, List<HotelDiscount> discounts);
	
	Page<HotelDiscountDTO> listByHotelId(int hotelId, Pageable pageable);
	
	ApiResponse<String> saveHotelDiscount(int hotelId, MultipartFile file);
}
